<!--
 * @Descripttion: 
 * @Author: 荷逸
 * @email: 563428234@qq.com
 * @Date: 2021-01-26 13:50:26
-->
{extend name='public/layer_base' /}
{block name='content'}
<div class="row">
    <div class="col-md-12">
        <div class="box box-primary">
            <form id="dataForm" class="layerForm form-horizontal" action="{:url('zipFile')}" method="post" enctype="multipart/form-data">
                <div class="box-body">

                    <div class="form-group">
                        <label for="file" class="col-sm-2 control-label">压缩到</label>
                        <div class="col-sm-10 col-md-4">
                            <input id="file" name="file" value="{$data.file|default=''}"
                                   placeholder="请输入压缩到" type="text" class="form-control field-text">
                        </div>
                    </div>

                </div>
                <div class="box-footer">
                    {:token_field()}
                    <div class="col-sm-2">
                    </div>
                    <div class="col-sm-10 col-md-4" style="text-align: center;">
                        <div class="btn-group" style="display: inline-block;">
                            <button type="submit" class="btn flat btn-info dataform-submit">
                                确认
                            </button>
                        </div>
                        <div class="btn-group">
                            <button type="reset"  style="display: inline-block;" class="btn flat btn-default dataform-reset">
                                重置
                            </button>
                        </div>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
<script>
    $('#dataForm').validate({});
</script>
{/block}